Skip to content

feat: Support adding prefix to tool names returned by toolset#2400

Merged
copybara-service[bot] merged 1 commit into
mainfrom
copybara/791983427
Aug 12, 2025
Merged

feat: Support adding prefix to tool names returned by toolset#2400
copybara-service[bot] merged 1 commit into
mainfrom
copybara/791983427

Conversation

@copybara-service

@copybara-service copybara-service Bot commented Aug 7, 2025

Copy link
Copy Markdown

feat: Support adding prefix to tool names returned by toolset

This is to address the name conflict issue of tools returned by different toolset. Mainly it's to give each toolset a namespace.

We have a flag add_tool_name_prefix to decide whether to apply this behavior
We have a tool_name_prefix to let client specify a custom prefix, if not set , toolset name will be used as prefix.

@copybara-service
copybara-service Bot force-pushed the copybara/791983427 branch 5 times, most recently from 805cf0c to ff779eb Compare August 12, 2025 23:14
This is to address the name conflict issue of tools returned by different toolset. Mainly it's to give each toolset a namespace.

We have a flag `add_tool_name_prefix` to decide whether to apply this behavior
We have a `tool_name_prefix` to let client specify a custom prefix, if not set , toolset name will be used as prefix.

PiperOrigin-RevId: 794306796
@copybara-service
copybara-service Bot merged commit ebd726f into main Aug 12, 2025
@copybara-service
copybara-service Bot deleted the copybara/791983427 branch August 12, 2025 23:17
@ziyanli33

Copy link
Copy Markdown

make it also available in MCPToolset pls

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants